<cfcomponent name="Security.cfc" hint="Handles checking login and security permissions." output="false">
	
	<cffunction name="initializeUser" returntype="void" hint="Initializes a user ." output="true">
		<cfargument name="user">
		
		<cfset client.IsAuthenticated = FALSE>
		
		<cfif Not arguments.user.personnelID is "">
			<cfset client.IsAuthenticated = TRUE>
		
			<cfset client.userID = arguments.user.personnelID>
			<cfset client.name = arguments.user.name>
				<!---<cfset client.user.groups = getUser.Groups>
			<cfset client.user.username = getUser.username>
			<cfset client.user.permissions = getUser.permissions> --->
		
		</cfif>
	</cffunction>

</cfcomponent>